From 1123bdf3b90f500d83a9c12e91f1b3517d6b5da1 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Sat, 23 Jul 2011 09:56:13 +0100 Subject: [PATCH] hvmloader: Remove bogus and unused RESERVED_MEMSIZE decl. Signed-off-by: Keir Fraser --- tools/firmware/hvmloader/util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/firmware/hvmloader/util.h b/tools/firmware/hvmloader/util.h index 3c253ea64b..e000874ec4 100644 --- a/tools/firmware/hvmloader/util.h +++ b/tools/firmware/hvmloader/util.h @@ -81,7 +81,7 @@ void pci_write(uint32_t devfn, uint32_t reg, uint32_t len, uint32_t val); #define pci_writel(devfn, reg, val) (pci_write(devfn, reg, 4, (uint32_t)val)) /* Get a pointer to the shared-info page */ -struct shared_info *get_shared_info(void); +struct shared_info *get_shared_info(void) __attribute__ ((const)); /* Get CPU speed in MHz. */ uint16_t get_cpu_mhz(void); @@ -138,7 +138,7 @@ static inline void cpu_relax(void) }) /* HVM-builder info. */ -struct hvm_info_table *get_hvm_info_table(void); +struct hvm_info_table *get_hvm_info_table(void) __attribute__ ((const)); #define hvm_info (get_hvm_info_table()) /* String and memory functions */ -- 2.30.2